

<table class="table">
					
					<volist name="data" id="c">
       			 	<tr class="success">

       			 		<td>选择模型：</td>
       			 		<td>
       			 			<input type="hidden" name='cid' value="{$c.cid}">
       			 			<select name="mid" class="form-control">
       			 				
								<foreach name="md" item="vo" >
									<option value="{$vo.mid}" <if condition="$c['mid'] eq $vo['mid']">selected=""</if>>{$vo.m_name}</option>
       			 				</foreach>	
       			 			</select>
       			 		</td>
       			 	</tr>
       			 	<tr class="warning">
						<td>上级栏目：</td>
						<td>
							<select name="pid" class="form-control">
       			 					<if condition="$c['pid'] eq  0">
									<option value="{$c.pid}" selected="">{$c.cname}</option>
       			 					<else/>
       			 					<volist name="cate" id="g" >
       			 						<option value="{$g.cid}"   <if condition="$c['pid'] eq $g['cid']"> selected=""</if> >{$g.cname}</option>
       			 					</volist>	
       			 					</if>
							</select>
						</td>
					</tr>
			
					<tr class="success">
						<td>栏目名称：</td>
						<td>
							<input type="text" name="cname" class="form-control" value="{$c.cname}">
						</td>
					</tr>
					<tr class="warning">
						<td>栏目关键字：</td>
						<td>
							<input type="text" name="c_keywords" class="form-control" value="{$c.c_keywords}">
						</td>
					</tr>
					<tr class="success">
						<td>栏目描述：</td>
						<td>
							<textarea name="c_description" class="form-control" rows="3">{$c.c_description}</textarea>
						</td>
					</tr>
					<tr class="success">
						<td>栏目类型：</td>
						<td style="color:#555; font-weight: 400; font-size:12px; ">

							<label ><input type="radio" <if condition="$c['tpl_style'] eq 1">checked=''</if> name='tpl_style' value='1'>普通栏目</label>
							<label ><input type="radio" <if condition="$c['tpl_style'] eq 2">checked=''</if> name='tpl_style' value='2'>频道封面</label>
							<label ><input type="radio" <if condition="$c['tpl_style'] eq 3">checked=''</if> name='tpl_style' value='3'>外部链接</label>
							<label ><input type="radio" <if condition="$c['tpl_style'] eq 4">checked=''</if> name='tpl_style' value='4'>单页面</label>
						</td>

					</tr>
						<td>跳转地址：</td>
   			 			<td>
       			 			<input type="text" name="url" value="{$c.url}" class="form-control" >
       			 		</td>
   			 		</tr>
					<tr class="warning">
						<td>选择封面模板：</td>
						<td>
							<select name="inde_tpl" class="form-control">
       			 				<volist name="tpl" id="t">
					 			<option value="{$t}" <if condition="$t eq $c['index_tpl']">selected=""</if>>{$t}</option>
					 			</volist>
							</select>
						</td>
					</tr>
					<tr class="success">
						<td>选择列表页模板：</td>
						<td>
							<select name="list_tpl"  class="form-control">
       			 				<volist name="tpl" id="t">
					 			<option value="{$t}" <if condition="$t eq $c['list_tpl']">selected=""</if>>{$t}</option>
					 			</volist>
							</select>
						</td>
					</tr>
					<tr class="warning">
						<td>选择文章页模板：</td>
						<td>
							<select name="acr_tpl" class="form-control">
       			 				<volist name="tpl" id="t">
					 			<option value="{$t}" <if condition="$t eq $c['acr_tpl']">selected=""</if>>{$t}</option>
					 			</volist>
							</select>
						</td>
					</tr>
					</volist>
       			 </table>